<html>
<head>
<title>MyTool Dialog Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="noindex, nofollow" name="robots" />
<script src="common/fck_dialog_common.js" type="text/javascript"></script>
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded();
window.onload = function() {
window.parent.SetOkButton(true);
window.parent.SetAutoSize(true);
}
function Ok() {
var oActiveEl = oEditor.FCK.EditorDocument.createElement('SPAN');
oActiveEl.innerHTML = GetE('txtName').value;
oEditor.FCKUndo.SaveUndoStep();
oActiveEl = oEditor.FCK.InsertElement(oActiveEl);
return true;
}
</script>
</head>
<body style="overflow: hidden">
<table width="100%" style="height: 100%">
<tr>
<td align="center">
请输入文字：
<input id="txtName" type="text" />
</td>
</tr>
</table>
</body>
</html>